home *** CD-ROM | disk | FTP | other *** search
Makefile | 1998-09-20 | 1.1 KB | 62 lines |
- ##
- ## smakefile for SAS/C 6
- ##
- ## (WaitSignal)
- ##
- ## to generate it, simply 'smake all'
- ##
- ## ignore the stuff at the end of this makefile! It's just for me :).
- ## If you think this makefile is chaotic - you're right!
- ##
- ## -- Stephan
- ##
-
- REL=release
- DST=release/WaitSignal
- SRC=release/WaitSignal/source
- EXA=release/WaitSignal/examples
- ARC=WaitSignal.lha
-
- FEXE=${DST}/WaitSignal
- FDOC=$(DST)/WaitSignal.guide
- FDEMO=$(EXA)/Demo1 $(EXA)/Demo1child
- FSRC=$(SRC)/smakefile $(SRC)/WaitSignal.c
- FILES=$(FEXE) $(FDOC) $(FDEMO) $(FSRC)
-
- all: WaitSignal
-
- WaitSignal: WaitSignal.c
- sc waitsignal.c
-
- clean:
- -delete waitsignal
- -delete waitsignal.o
- -delete ${REL} all
- -delete ${ARC}
- -delete dist
-
- arc: ${ARC}
-
- ${ARC}: dist pgp
- -delete ${ARC}
- lha -mraxe -v0 a ${ARC} $(REL)/#?
-
- pgp: dist
- pgps -b $(FILES)
-
- dist: all
- -makedir $(REL) $(DST)
- stripa FROM WaitSignal TO ${DST}/WaitSignal
-
- copy WaitSignal.guide WaitSignal.guide.info TO ${DST}
-
- -makedir ${SRC}
- copy WaitSignal.c smakefile scoptions TO ${SRC}
-
- -makedir ${EXA}
- copy Examples/Demo1 Examples/Demo1child TO ${EXA} CLONE
-
- echo All done.
- echo >dist
-
-